package com.matou.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.matou.server.api.system.po.TResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author CM
 * @Date 2021/5/9 23:16
 * @Description MenuMapper
 * @Version 1.0
 */
public interface ResourceMapper extends BaseMapper<TResource> {


    List<TResource> findUserPermissions(@Param("userId") String userId);
}
